package com.microframework.boot.system.model.response;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class SysRoute {
	
	@Schema(description = "主键")
    private String id;
	
	@Schema(description = "名称")
    private String name;
	
	@Schema(description = "路由")
    private String path;
	
	@Schema(description = "组件")
    private String component;
	
	@Schema(description = "meta")
    private SysRouteMeta meta;
	
	@Schema(description = "子路由")
    private List<SysRoute> children;
}

